package com.chen.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/get")
public class HeloController {

    @RequestMapping("/hello")
    public String getHello(Model model){
        model.addAttribute("msg","明天加油！");
        return "test";
    }
}
